package com.mall.service;

import com.mall.entity.Order;
import com.mall.entity.Payment;

public interface PaymentService {

    Payment processPayment(Order order, String paymentMethod);

    Payment getPaymentByTransactionId(String transactionId);

    Payment getPaymentByOrderId(Long orderId);
}    